package com.example.base.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.base.domain.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
//@DS("mybatisplus_learn")
public interface EmployeeMapper extends BaseMapper<Employee> {
    @Select("select * from employee")
//    @DS("mybatisplus_learn")
    List<Employee> myQueryEmployee();
}
